@charset "UTF-8";

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* 统一box-sizing，避免计算样式时的意外 */
}

body {
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* ---------------------- Header Section ---------------------- */
.header {
    width: 100%;
    height: 60px;
    background-color: #e85252; /* 使用品牌颜色作为背景色 */
}

/* ---------------------- Main Section ---------------------- */
.bg_box {
    width: 100%;
    background-color: #f6f6f6;
}

/* Main Layout */
.main {
    width: 1000px;
    margin: 0 auto;
    padding-bottom: 50px;
    overflow: hidden;
}

/* ---------------------- Record Data Section ---------------------- */
.record_data {
    width: 100%;
    min-height: 700px;
    background: #fff;
    margin-top: 20px;
    display: flex; /* 使用flex布局来简化浮动布局 */
}

.record_data_left, .record_data_right {
    padding: 20px;
}

/* Left Section */
.record_data_left {
    width: 293px;
    flex-shrink: 0; /* 防止缩小 */
}

.record_data_left h3 {
    font-size: 20px;
    color: #E85252;
    text-align: center;
    height: 56px;
    line-height: 56px;
}

.record_data_left dl {
    width: 100%;
    padding: 0 20px;
}

.record_data_left dd {
    font-size: 14px;
    color: #9b9b9b;
    margin-top: 23px;
}

.record_data_left dt {
    font-size: 14px;
    color: #9b9b9b;
}

/* Right Section */
.record_data_right {
    width: 656px;
    flex-grow: 1; /* 让右侧区域占据剩余空间 */
    border-left: 1px solid #D8D8D8;
    padding: 30px 20px 20px 30px;
}

.album_name {
    font-size: 28px;
    color: #4a4a4a;
    font-weight: bold;
    line-height: 28px;
    height: 56px;
    overflow: hidden;
}

.album_ren {
    line-height: 44px;
    font-size: 16px;
}

.album_ren img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-right: 10px;
}

.album_all {
    text-align: right;
}

.album_all button {
    width: 110px;
    height: 44px;
    border: 1px solid #e85252;
    border-radius: 4px;
    color: #e85252;
    font-size: 16px;
    background: none;
    cursor: pointer;
}

/* ---------------------- Footer Section ---------------------- */
.footer {
    width: 100%;
    background-color: purple;
    border-top: 3px solid black;
    text-align: center;
    padding: 30px 0;  /* 增加上下间距，提升视觉效果 */
    color: #fff; /* 白色文字，提升与紫色背景的对比 */
}

.footer-content p {
    margin: 10px 0; /* 增加段落上下间距，避免拥挤 */
    font-size: 16px; /* 设置合适的文字大小 */
}

.footer-content a {
    color: #fff; /* 链接文字为白色 */
    text-decoration: none; /* 去掉链接的下划线 */
    font-weight: bold; /* 链接文字加粗 */
}

.footer-content a:hover {
    text-decoration: underline; /* 鼠标悬停时添加下划线效果 */
}

.footer img {
    vertical-align: middle; /* 图片与文字垂直居中 */
    margin-right: 8px; /* 图片与文字之间增加一点间距 */
}

@media (max-width: 768px) {
    .footer {
        padding: 20px 0; /* 在小屏幕设备上稍微减少间距 */
    }

    .footer-content p {
        font-size: 14px; /* 小屏设备上的字体稍微小一点 */
    }

    .footer img {
        width: 18px; /* 调整图片大小以适应小屏 */
        height: auto; /* 保持比例 */
    }
}

/* ---------------------- Navbar (Top Navigation Bar) ---------------------- */
.navbar {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-right: 50px;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: #e85252;
}

.navbar-nav .nav-item {
    margin-left: 20px;
}

.navbar-nav .nav-link {
    font-size: 1.1rem;
    color: #555;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: #e85252;
    color: white;
}

/* ---------------------- 轮播图部分 ---------------------- */
/* Carousel 外容器 */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Carousel 内部的容器，确保所有轮播项目水平排列 */
.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

/* 每个轮播项 */
.carousel-item {
    min-width: 100%;  /* 确保每个轮播项都占据 100% 宽度 */
    box-sizing: border-box;
    position: relative;
}

/* 轮播图片 */
.carousel-item img {
    width: 100%; /* 确保图片占据整个容器宽度 */
    height: auto;
}

/* 控制轮播图标题和描述 */
.carousel-caption {
    position: absolute;
    bottom: 10%;
    left: 10%;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.carousel-caption h4,
.carousel-caption p {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* 控制轮播图导航按钮 */
.carousel-control-prev, .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    text-decoration: none;
    z-index: 100;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

/* 控制轮播图指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.carousel-indicators li {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
}

.carousel-indicators li.active {
    background-color: rgb(128, 128, 128);
}

/* ---------------------- Album Section ---------------------- */
.section-title {
    color: blueviolet;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 1.8rem;
    margin-top: 30px;
    text-align: center;
}

.album-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    text-align: center;
}

.album-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.album-caption {
    padding: 15px;
}

.album-caption h4 {
    font-size: 1.2rem;
    color: #333;
}

.album-caption p {
    font-size: 1rem;
    color: #555;
}

.album-caption .btn {
    background-color: #e85252;
    border: none;
    border-radius: 25px;
    color: white;
    padding: 10px 20px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.album-caption .btn:hover {
    background-color: #d44f4f;
}

/* ---------------------- Singer Section ---------------------- */
.index_singer {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.singer-item {
    text-align: center;
    width: 150px;
}

.singer-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}

.singer-name {
    color: #9932cc;
    font-size: 1rem;
    margin-top: 10px;
}

/* ---------------------- Media Queries for Responsiveness ---------------------- */
@media (max-width: 991px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar-nav .nav-item {
        margin-left: 10px;
    }

    .form-control {
        width: 100%;
        margin-bottom: 10px;
    }

    .navbar-nav.navbar-right {
        margin-left: 0;
    }

    .index_singer .singer-item {
        width: 120px;
    }
}
